package com.tedu.openmedical.medicalsystem.fqa.mapper;

import com.tedu.openmedical.medicalsystem.fqa.dto.FAQQuery;
import com.tedu.openmedical.medicalsystem.fqa.entity.FAQ;
import com.tedu.openmedical.medicalsystem.fqa.vo.FAQVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface FAQMapper {
    List<FAQVO> select(FAQQuery query);

    void insert(FAQ faq);

    void update(FAQ faq);

    void delete(Long id);
}
